Skip to content

Add missing commit check style#174

Merged
samdbmg merged 1 commit intomainfrom
sammg/ci/commit-check
Feb 12, 2026
Merged

Add missing commit check style#174
samdbmg merged 1 commit intomainfrom
sammg/ci/commit-check

Conversation

@samdbmg
Copy link
Member

@samdbmg samdbmg commented Feb 11, 2026

Details

When commands like git commit --fixup create commits, they use the style fixup!, rather than the !fixup style checked for by CI. Unfortunately this stems from a mistake when the checker was originally implemented, but both forms are kept in case anyone uses the old form manually.

This was tested to work in https://github.com/bbc/tams/actions/runs/21916998990/job/63286791435?pr=174 (the accompanying change has been rebased out)

Jira Issue (if relevant)

Jira URL: N/A (came up while doing #172 )

Related PRs

N/A

Submitter PR Checks

(tick as appropriate)

  • PR completes task/fixes bug
  • API version has been incremented if necessary
  • ADR status has been updated, and ADR implementation has been recorded
  • Documentation updated (README, etc.)
  • PR added to Jira Issue (if relevant)
  • Follow-up stories added to Jira

Reviewer PR Checks

(tick as appropriate)

  • PR completes task/fixes bug
  • Design makes sense, and fits with our current code base
  • Code is easy to follow
  • PR size is sensible
  • Commit history is sensible and tidy

Info on PRs

The checks above are guidelines. They don't all have to be ticked, but they should all have been considered.

When commands like `git commit --fixup` create commits, they use the
style `fixup!`, rather than the `!fixup` style checked for by CI.
Unfortunately this stems from a mistake when the checker was originally
implemented, but both forms are kept in case anyone uses the old form
manually.
@samdbmg samdbmg force-pushed the sammg/ci/commit-check branch from f557c5f to 2286557 Compare February 11, 2026 18:06
@samdbmg samdbmg marked this pull request as ready for review February 11, 2026 18:06
@samdbmg samdbmg requested a review from a team as a code owner February 11, 2026 18:06
@samdbmg samdbmg merged commit a975592 into main Feb 12, 2026
8 checks passed
@samdbmg samdbmg deleted the sammg/ci/commit-check branch February 12, 2026 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants